home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / bbs_util / vugif10.zip / SENDFILE.BAT < prev    next >
DOS Batch File  |  1994-05-30  |  855b  |  29 lines

  1. @ECHO OFF
  2. REM Do Not Delete This File!!!
  3. REM It Must Be Present In GIF VIEW's Home Directory.
  4. REM .
  5. REM Parameters For Calling This Batch File Are...
  6. REM %1 Com Port Number 1 = Com 1....
  7. REM %2 Baud Rate User Is Logged On At, Not Used.
  8. REM %3 Transfer Protocol b=Ymodem, z=Zmodem.
  9. REM %4 List Of Files To Be Sent, Generated BY VUGIF100.EXE Door.
  10. REM .
  11. REM You can can change the GSZ line below to DSZ if you wish to use DSZ.
  12. REM You may also modify the GSZ/DSZ command to support different IRQs.
  13. REM Read the DSZ/GSZ docs for more info on this.
  14. :LOOP
  15.    SET DSZLOG=DSZ.LOG
  16.    GSZ port %1 s%3 %4
  17.    if errorlevel 1 goto BAD
  18.    if errorlevel 0 goto DONE
  19.    goto DONE
  20. :BAD
  21.    CLS
  22.    del STATUS.DAT
  23.    echo WARNING: Bad Download !!!
  24.    echo Exiting With Errorlevel 1
  25.    goto DONE
  26. :DONE
  27.    CLS
  28.    echo Exiting Back To GIF VIEW.....
  29.